/*
* @Author: sc
* @Date:   2019-01-16 16:10:42
* @Last Modified by:   sc
* @Last Modified time: 2019-01-20 15:26:31
*/
import Util   from 'util/index.jsx';
const _util = new Util();

class Service{	
	getList(info){
		return _util.request({
			url : '/test/list',
			type: 'post',
			data: info
		});
	}
	addThing(info){
		return _util.request({
			url : '/test/add',
			type: 'post',
			data: info
		});
	}
	finished(info){
		return _util.request({
			url : '/test/finished',
			type: 'post',
			data: info
		});
	}
	deleteById(info){
		return _util.request({
			url : '/test/deleteById',
			type: 'post',
			data: info
		});
	}
	deleteAll(){
		return _util.request({
			url : '/test/deleteAll',
			type: 'post'
		});
	}
	updateById(info){
		return _util.request({
			url : '/test/update',
			type: 'post',
			data: info
		});
	}
    getTips(){
		return _util.request({
			url : '/test/tips',
			type: 'post'
		});
	}
}

export default Service;